<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('修改电池模组信息')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-information-edit" th:object="${tbPartModuleInformation}">
            <input name="moduleTypeId" th:field="*{moduleTypeId}" type="hidden">
            <div class="form-group">
                <label class="col-sm-3 control-label">模组型号名称：</label>
                <div class="col-sm-8">
                    <input name="moduleTypeName" th:field="*{moduleTypeName}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">单体串并联方式：</label>
                <div class="col-sm-8">
                    <input name="moduleSerialParallel" th:field="*{moduleSerialParallel}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">单体电池个数：</label>
                <div class="col-sm-8">
                    <input name="moduleCellNum" th:field="*{moduleCellNum}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">生产厂商名称：</label>
                <div class="col-sm-8">
                    <input name="moduleWorkName" th:field="*{moduleWorkName}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">电池包编码：</label>
                <div class="col-sm-8">
                    <input name="moduleCellCode" th:field="*{moduleCellCode}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">模块规格代码：</label>
                <div class="col-sm-8">
                    <input name="moduleSpecificationCode" th:field="*{moduleSpecificationCode}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">所含单体编码：</label>
                <div class="col-sm-8">
                    <input name="moduleDanCode" th:field="*{moduleDanCode}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">实际容量(AH)：</label>
                <div class="col-sm-8">
                    <input name="moduleActualCapacity" th:field="*{moduleActualCapacity}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">实际电压(V)：</label>
                <div class="col-sm-8">
                    <input name="moduleVoltmeter" th:field="*{moduleVoltmeter}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">实际质量(KG)：</label>
                <div class="col-sm-8">
                    <input name="moduleQuality" th:field="*{moduleQuality}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">模块流向：</label>
                <div class="col-sm-8">
                    <input name="moduleModuleFlow" th:field="*{moduleModuleFlow}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label is-required">电池模块性能参数ID：</label>
                <div class="col-sm-8">
                    <input name="modulePropertyId" th:field="*{modulePropertyId}" class="form-control" type="text" required>
                </div>
            </div>
        </form>
    </div>




    <th:block th:include="include :: footer" />
    <script type="text/javascript">
        var prefix = ctx + "moduleInformation/information";
        $("#form-information-edit").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/edit", $('#form-information-edit').serialize());
            }
        }
    </script>
</body>
</html>
